ElasticPress\Command D

Total Complexity 230
Dependencies 8
Dependents 0
Total lines 1,783
Lines of code 878
Logical lines of code 573
Comment lines 595
Methods 37
Properties 2

Methods 37

Method Rating Maintainability Complexity Lines of code
index_helper()
D
23
43 173
index()
D
27
33 134
put_mapping_helper()
B
38 19 68
delete_index()
A
42 13 54
stop_the_insanity()
A
46 12 38
set_search_algorithm_version()
A
54 8 21
get_indexing_status()
S
50 7 30
list_features()
S
53 7 22
output_index_errors()
S
53 7 21
activate_feature()
S
53 6 21
deactivate_feature()
S
55 6 18
stats()
S
51 5 25
get_index_names()
S
57 5 16
index_occurring()
S
61 5 12
status()
S
51 4 26
stop_indexing()
S
58 4 14
get_search_algorithm_version()
S
62 4 12
custom_get_transient()
S
56 3 20
recreate_network_alias()
S
58 3 15
create_network_alias_helper()
S
60 3 13
delete_transient()
S
64 3 11
reset_transient()
S
67 3 7
connect_check()
S
66 3 8
epio_set_autosuggest()
S
65 3 8
render_stats()
S
61 2 11
get_mapping()
S
66 2 7
put_mapping()
S
66 2 9
get_last_cli_index()
S
68 2 7
maybe_change_host()
S
66 2 10
maybe_change_index_prefix()
S
66 2 10
should_interrupt_sync()
S
67 2 8
delete_transient_on_int()
S
69 2 7
__construct()
S
78 1 3
clear_index()
S
71 1 6
get_indexes()
S
76 1 4
get_cluster_indexes()
S
71 1 6
skip_number_format_i18n()
S
77 1 3